Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add basic auth #49

Merged
merged 2 commits into from
Sep 29, 2023
Merged

add basic auth #49

merged 2 commits into from
Sep 29, 2023

Conversation

penghuo
Copy link
Collaborator

@penghuo penghuo commented Sep 27, 2023

Description

  1. Add basic auth support when connect to OpenSearch. flint-spark-integration/src/main/scala/org/apache/spark/sql/flint/config/FlintSparkConf.scala
  2. Local Test passed.

Issues Resolved

#46

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@penghuo penghuo added the enhancement New feature or request label Sep 27, 2023
@penghuo penghuo self-assigned this Sep 27, 2023
docs/index.md Outdated
@@ -271,7 +271,9 @@ In the index mapping, the `_meta` and `properties`field stores meta and schema i
- `spark.datasource.flint.host`: default is localhost.
- `spark.datasource.flint.port`: default is 9200.
- `spark.datasource.flint.scheme`: default is http. valid values [http, https]
- `spark.datasource.flint.auth`: default is false. valid values [false, sigv4]
- `spark.datasource.flint.auth`: default is false. valid values [false, sigv4, basic]
Copy link
Member

@vamsimanohar vamsimanohar Sep 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey can we change default to noauth. It seems confusing default looks like boolean and others are strings.
I will also change at my end.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make sense, change to

`spark.datasource.flint.auth`: default is noauth. valid values [noauth, sigv4, basic]

Signed-off-by: Peng Huo <[email protected]>
@penghuo penghuo merged commit 73bd6e8 into opensearch-project:main Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants